
/*
//**********Sending Email***************************************************************************************************
$("#btnSubmit").click(function() {
    $("#sendmail").validate();

    if ($("#sendmail").valid()) {
        $.ajax({
            type: "POST",
            url: "/services/Mail.asmx/SendMail",
            cache: false,
            contentType: "application/json; charset=utf-8",
            data: "{ 'body': '" + $("#txtMessage").val() + "'," + "'from': '" + $("#inputEmail").val() + "'," + "'subject: 'email from" + $("#inputName").val() + "'" + "}",
            dataType: "json",
            complete: function(transport) {
                alert(transport.status);
                if (transport.status == 200) {
                    $("#formcontainer").html("<h1>Success</h1>");
                }
                else {
                    alert("Please try again later");
                }
            }
        });
    }


    return false;
});
   */ 